home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- DESTROYDB(UNIX) 3/14/79 DESTROYDB(UNIX)
-
-
-
- NAME
- destroydb - destroy an existing database
-
- SYNOPSIS
- _d_e_s_t_r_o_y_d_b [ -_s ] [ -_m ] dbname
-
- DESCRIPTION
- _D_e_s_t_r_o_y_d_b will remove all reference to an existing database.
- The directory of the database and all files in that directo-
- ry will be removed.
-
- To execute this command the current user must be the data-
- base administrator for the database in question, or must be
- the INGRES superuser and have the -_s flag stated.
-
- The -_m flag causes _d_e_s_t_r_o_y_d_b not to remove the UNIX directo-
- ry. This is useful when the directory is a separate mounted
- UNIX file system.
-
- EXAMPLE
- destroydb demo
- destroydb -s erics_db
-
- FILES
- .../data/base/*
-
- SEE ALSO
- creatdb(unix)
-
- DIAGNOSTICS
- invalid dbname - the database name specified is not a valid
- name.
- you may not reference this database - the database may ex-
- ist, but you do not have permission to do anything with
- it.
- you may not use the -s flag - you have tried to use the -_s
- flag, but you are not the INGRES superuser.
- you are not the dba - someone else created this database.
- database does not exist - this database does not exist.
-
-
-